<%--
  Created by IntelliJ IDEA.
  User: 娅娅
  Date: 2021/8/7
  Time: 10:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>手机信息</title>
</head>
<body>
    <table border="1" align="center" style="margin-top: 90px">
        <tr>
            <td align="center" colspan="3"><h3>手机信息</h3></td>
        </tr>
        <tr>
            <th align="center">品牌型号</th>
            <th align="center">参考报价</th>
            <th align="center">操作</th>
        </tr>
        <c:forEach var="hand" items="${list}">
        <tr>
            <td align="center">${hand.nameType}</td>
            <td align="center">${hand.price}</td>
            <td align="center">
                <a href="${pageContext.request.contextPath }/listById/${hand.hsId}">详情</a>
                &nbsp;&nbsp;
                <a href="${pageContext.request.contextPath }/del?hsId=${hand.hsId}">删除</a>
            </td>
        </tr>
        </c:forEach>
    </table>
</body>
</html>
